Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix getproperty calls on fields for File #1081

Merged
merged 3 commits into from
Apr 23, 2023
Merged

Conversation

albheim
Copy link
Contributor

@albheim albheim commented Apr 20, 2023

Solves #1080 and adds test for the original instance of the problem.

Would it be worth having a check on all field names? Feels like it is very easy to accidentally use the dot syntax internally when accessing the fields, and only when someone use data where the columns share the names something would be incorrect. Maybe more than only this constructor should be tested with columns using the field names of File?

Copy link
Member

@quinnj quinnj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@codecov
Copy link

codecov bot commented Apr 23, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (cfb4ffb) 90.22% compared to head (0f81c9e) 90.22%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1081   +/-   ##
=======================================
  Coverage   90.22%   90.22%           
=======================================
  Files           9        9           
  Lines        2271     2271           
=======================================
  Hits         2049     2049           
  Misses        222      222           
Impacted Files Coverage Δ
src/file.jl 94.42% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@quinnj quinnj merged commit ac11e05 into JuliaData:main Apr 23, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants